#ifndef _GEO_CURVEMANAGER_H_
#define _GEO_CURVEMANAGER_H_

#include "GeometryBase.h"

class CVertexManager;
class CLineManager;
class CSketchModel;


class CCurveManager
{
	friend class CSketchModel;
public:
	CCurveManager();
	CCurveManager(CVertexManager* pVManager, CLineManager* pLManager);
	~CCurveManager();

	void AddCurve(CCurve curve);
	void DeleteCurve(CCurve curve);
	CCurve GetCurve(int index);
	int GetCurveCount();

	bool IsParallel(CCurve curve1, CCurve curve2, bool &isReversed);
protected:

private:
	CVertexManager* m_pVManager;
	CLineManager* m_pLManager;

	list<CCurve> m_lCurve;
};

#endif